package com.gzlz.budejie.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.gzlz.budejie.R; 
import com.gzlz.budejie.activity.SubscribeActivity;
import com.gzlz.budejie.view.LieBiaoView;
import com.gzlz.budejie.view.LieBiaoView2;
import com.romainpiel.shimmer.Shimmer;
import com.romainpiel.shimmer.ShimmerTextView;

public class Zuixin extends BaseFragment implements OnClickListener  {

	private ImageView head_image_1;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = View.inflate(getActivity(), R.layout.fragment_zuixin, null);
		head_image_1 = (ImageView) view.findViewById(R.id.head_image_1);
		head_image_1.setOnClickListener(this);
		
		ShimmerTextView shimmer_tv = (ShimmerTextView) view.findViewById(R.id.shimmer_tv);
		Shimmer shimmer = new Shimmer();
		shimmer.start(shimmer_tv);
		
		LieBiaoView2 jinghua_liebiao = (LieBiaoView2) view.findViewById(R.id.jinghua_liebiao);
//		jinghua_liebiao.shimmer_tv = shimmer_tv;
		
		return view;
	}
	
	@Override
	public void onClick(View v) {
		Intent intent =new Intent(getActivity(), SubscribeActivity.class);
		startActivity(intent);
	}
	
}
